package com.ruoyi.service.masterdate;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    //获取部门表的所有信息
    List<Map<String, Object>> findDepartmentAll(Map<String, Object> map);

    //根据ID获取部门表的信息
    Map<String, Object> findDepartment(String id);

    //添加部门
    int addDepartment(Map<String, Object> map);

    //修改部门
    int editDepartment(Map<String, Object> map);

    //校验部门编码是否唯一
    int checkCodeUnique(Map<String, Object> map);
}
